home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / uuid-runtime.postinst < prev    next >
Text File  |  2008-10-13  |  310b  |  16 lines

  1. #!/bin/sh
  2.  
  3. set -e
  4. if ! getent group | grep -q libuuid; then
  5. groupadd -f -K GID_MIN=1 -K GID_MAX=999 libuuid
  6. fi
  7. if ! getent passwd | grep -q libuuid; then
  8.    useradd -d /var/lib/libuuid -K UID_MIN=1 -K UID_MAX=499 -g libuuid libuuid
  9. fi
  10. chown libuuid:libuuid /usr/sbin/uuidd
  11. chmod 6755 /usr/sbin/uuidd
  12.  
  13.  
  14.  
  15. exit 0
  16.